package shared;

/**
 * The data sent from the Server to Clients.
 * <p>Describe the player informatiion by using the message object.
 * @author yangliu
 * @version Version 0.0.4
 */
public class BVZClientToServerMessages {
	
	public int clientStat;
	
	public int playerRole;
	
	//	0 -- normal; 1 -- pressed; 2 -- dragged
	public int mouseStat;
	public int mousePosX;
	public int mousePosY;
	
	/**
	 * @param cs 	The client status.
	 * @param pr	The role of the player.
	 * @param ms	The mouse status.
	 * @param mx	The X position of the mouse.
	 * @param my	The Y position of the mouse.
	 */
	public BVZClientToServerMessages(int cs, int pr, int ms, int mx, int my){
		this.clientStat = cs;
		this.playerRole = pr;
		this.mouseStat = ms;
		this.mousePosX = mx;
		this.mousePosY = my;
	}
	
	public  BVZClientToServerMessages(){
		this(0,3,0,0,0);
	}
	
}
